package com.liqi.display.mapper;

import com.liqi.display.entity.TblTakeNumber;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.liqi.display.entity.returnType.TotalTakeType;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author liqi
 * @since 2021-04-13
 */
public interface TblTakeNumberMapper extends BaseMapper<TblTakeNumber> {
        int total(Date date);

        int compare(@Param("start")Date start,@Param("end") Date end);
        
        int lateComare8(@Param("date")Date date);

        int lateComare9(@Param("date")Date date);

        int lateComare10(@Param("date")Date date);

        int lateComare11(@Param("date")Date date);

        int lateComare14(@Param("date")Date date);

        int lateComare15(@Param("date")Date date);

        int lateComare16(@Param("date")Date date);

        List<TotalTakeType> totalTakeType(@Param("date")Date date);

        int totalLateOrder(@Param("start")Date start,@Param("end")Date end);

        int totalLateCurrent(@Param("start")Date start,@Param("end")Date end);

        int totalLateWeiXin(@Param("start")Date start,@Param("end")Date end);
}
